<template>
  <view class="container">
	  
    <view class="form">
      <view class="form-item">
        <text class="label">标题：</text>
        <input class="input" placeholder="请输入标题" />
      </view>

      <view class="form-item">
        <text class="label">内容：</text>
        <textarea class="textarea" placeholder="请输入内容"></textarea>
      </view>

      <view class="form-item">
        <text class="label">图片/视频：</text>
        <view class="upload">
          <text class="upload-icon">+</text>
          <text class="upload-text">点击选择上传</text>
        </view>
      </view>
    </view>

    <button class="submit-btn">发布</button>
  </view>
</template>

<style>
.container {
  padding: 20rpx;
}

.title {
  color: white;
  font-size: 36rpx;
}

.form {
  background-color: white;
  border-radius: 10rpx;
  padding: 20rpx;
  margin-top: 20rpx;
}

.form-item {
  display: flex;
  align-items: center;
  margin-bottom: 20rpx;
}

.label {
  width: 200rpx;
  font-size: 32rpx;
}

.input, .textarea {
  flex: 1;
  padding: 10rpx;
  border: 1rpx solid #ddd;
  border-radius: 10rpx;
  outline: none;
  background-color: #f0f0f0;
}

.textarea {
  height: 200rpx;
}

.upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 200rpx;
  height: 200rpx;
  border: 2rpx dashed #ccc;
  border-radius: 10rpx;
  margin-left: 10rpx;
}

.upload-icon {
  font-size: 48rpx;
  color: #007AFF;
}

.upload-text {
  font-size: 24rpx;
  color: #666;
  text-align: center;
}

.submit-btn {
  width: 100%;
  height: 80rpx;
  background-color: #007AFF;
  color: white;
  font-size: 32rpx;
  text-align: center;
  line-height: 80rpx;
  border-radius: 40rpx;
  margin-top: 20rpx;
}
</style>
